package com.zzl.service;

import com.zzl.domain.User;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: zhangzeli
 * @date 16:48 2018/5/19
 * <P></P>
 */
public interface UserService {
    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    User login(String name, String password);
}
